﻿using System;
using System.Data;
namespace SmartLibraries.DataAccessLayer
{
	public interface ISmartQuery:IDisposable
	{
		 string Connectionstring
		{
			get;
			set;
		}
		SmartDbParameters Parameters
		{
			get;
			set;
		}
		string Query
		{
			get;
			set;
		}

		int ExecuteNonQuery();
		DataTable GetDataTable();
		DataSet GetDataSet();
		SingleRow GetSingleRow();
	}
}
